.page{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  &:before{
    background-color: $theme_bg_color;
  }
}


.carousel{
  padding: 20px 0 24px;
  position: relative;
  &-list{
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
    padding-left: 20px;
  }

  &-item{
    width: 420px;
    height: 100%;
    overflow: hidden;
    position: absolute;
    transition: all .8s;
    will-change: transform;
    border-radius: 20px;
  }

  &-dot{
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    &-item{
      width: 20px;
      height: 4px;
      margin: 0 6px;
      opacity: .2;
      background: #999;
      border-radius: 2px;
      transition-property: all;
      &.active{
        opacity: 1;
        background-image: linear-gradient(90deg, #ff4b2b, #ff4142);
      }
    }
  }
}


.live{
  &-list{
    z-index: 10;
    padding: $page_margin;
    position: relative;
  }

  &-item{
    display: flex;
    position: relative;
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,.08);
    border-radius: 20px;
    margin-bottom: $page_margin;
    &:last-child{
      margin: 0;
    }
  }

  &-left{
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
  }
  &-img{
    width: 340px;
    height: 340px;
  }

  &-tag{
    left: 0;
    color: #fff;
    height: 32px;
    display: flex;
    position: absolute;
    font-size: 20px;
    background: rgba(0,0,0,.4);
    border-radius: 18px;
    &:before{
      content: "";
      top: 2px;
      left: 6px;
      width: 28px;
      height: 28px;
      position: absolute;
      background: url(../../../assets/icon/live-loading.gif) no-repeat;
      background-size: cover;
    }
    &-tag{
      padding-left: 40px;
      padding-right: 16px;
      border-radius: 18px 18px 18px 0;
      background-image: linear-gradient(90deg, #ff4b2b, #ff4142);
    }
    &-watch{
      padding: 0 10px;
    }
  }

  &-user{
    left: 20px;
    bottom: 20px;
    display: flex;
    position: absolute;
    align-items: center;
    &-avatar{
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }
    &-name{
      color: #fff;
      font-size: 24px;
      margin-left: 10px;
    }
  }

  &-right{
    flex: 1;
    padding: 0 20px;
  }
  &-box{

  }
  &-title{
    font-size: 32px;
    margin-top: 30px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  &-short-Title{
    color: #999;
    font-size: 24px;
  }
  &-goods{
    bottom: 20px;
    display: flex;
    position: absolute;
    &-item{
      width: 150px;
      height: 150px;
      overflow: hidden;
      position: relative;
      border-radius: 20px;
      &:nth-child(2) {
        margin-left: 10px;
      }
    }

    &-price{
      left: 0;
      right: 0;
      color: #fff;
      bottom: 0;
      height: 32px;
      position: absolute;
      font-size: 20px;
      background-image: linear-gradient(0deg,rgba(0,0,0,.5),transparent);
    }
  }
}
